import { BroadCastCall } from "../broadCast/BroadCastCall";
import { MessageBlock } from "../../../../Framework/MQ/MessageBlock";
import { SPetCollections } from "../../../../Message/Game/SPetCollections";
//class PetCollectionCommand
    
    export  class PetCollectionCommand extends BroadCastCall
    {
        constructor(arg1: Object)
        {
            super(arg1);
            return;
        }

        public /* override */ call(arg1: MessageBlock): void
        {
            super.call(arg1);
            var loc1=arg1.messageBase as SPetCollections;
            _cache.pet.collectedPets = loc1.kinds;
            return;
        }
    }
